﻿function setPosition(height) {   
    var divMain = document.getElementById("main");
    divMain.style.height = height + "px";   
    divMain.resize = window.myChart.resize();   
}